package com.duowei.kitchen2.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.duowei.kitchen2.R;

import server.PushService;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    protected void onResume() {
        super.onResume();
        PushService.startPushService(this);
    }

    @Override
    protected void onStop() {
        super.onStop();
        PushService.stopPushService(this);
    }
}
